<?php
/**
 * Created by PhpStorm.
 * User: change
 * Date: 2016/2/16
 * Time: 11:16
 */

defined('BASEPATH') OR exit('No direct script access allowed');

class Leaderm extends CI_Model
{
    function __construct()
    {

    }

    //添加精品日志
    public function add_leader_digest_post_log($digest_info)
    {
        return $result = $this->db->set($digest_info)->insert('ml_leader_digest_post_log');
    }

    //添加分类日志
    public function add_leader_type_weight_log($type_weight_info)
    {
        return $result = $this->db->set($type_weight_info)->insert('ml_leader_type_weight_log');
    }

}